package com.geekaca.d3;

public class TestIf {
    public static void main(String[] args) {
        /**
         * if 分支
         */
        int heartBeat =90;
        if (heartBeat<60||heartBeat>100){
            System.out.println("心路数据是: " + heartBeat + "您可以需要进一步检查");
        }else{
            System.out.println("您的心路正常");
        }
        int score = 80;
        System.out.println("-------------------");
        if (score>= 0&& score<60){
            System.out.println("绩效C");
        }else if(score >=60 && score<90){
            System.out.println("绩效B");
        }else{
            System.out.println("绩效A");
        }
    }
}
